package person.locke.regexandgame.regex;

/**
 * Created by Locke on 2018/7/4.
 */
public class Location {

    private int start;

    private int end;

    private String str;

    public Location() {
    }

    public Location(int start, int end,String str) {
        this.start = start;
        this.end = end;
        this.str = str;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }

    @Override
    public String toString() {
        return "Location{" +
                "start=" + start +
                ", end=" + end +
                ", str='" + str + '\'' +
                '}';
    }
}
